<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="fragments :: html_head">
  <body>
   /* Begin Modal
    dialog Fragment */

    <div
      th:fragment="modal_dialog"
      class="modal fade text-center"
      id="modalDialog"
    >
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h4 class="modal-title" id="modalTitle">Warning</h4>
            <button type="button" class="close" data-dismiss="modal">
              &times;
            </button>
          </div>
          <div class="modal-body">
            <span id="modalBody"></span>
          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-danger" data-dismiss="modal">
              Close
            </button>
          </div>
        </div>
      </div>
    </div>

    /* End Modal dialog Fragment */ /* Begin Confirm Modal dialog Fragment */

    <div
      th:fragment="modal_confirm"
      class="modal fade text-center"
      id="modalConfirm"
    >
      <div class="modal-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <h4 class="modal-title">Confirm Deletion</h4>
            <button type="button" class="close" data-dismiss="modal">
              &times;
            </button>
          </div>
          <div class="modal-body">
            <span id="confirmText"></span>
          </div>
          <div class="modal-footer">
            <a class="btn btn-success" href="" id="deleteButton">Yes</a>
            <button type="button" class="btn btn-danger" data-dismiss="modal">
              No
            </button>
          </div>
        </div>
      </div>
    </div>

    /* End Modal dialog Fragment */
  </body>
</html>
